package client.gui;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.BorderFactory;
import javax.swing.JLabel;

public class AlbumPanel extends ItemPanel {
	private JLabel AlbumLabel = new JLabel();
	private String AlbumName;
	private String ArtistName;
	
	public AlbumPanel(String Artist, String Album){
		//setLayout(null);
		init();
		AlbumName = Album;
		ArtistName = Artist;
		AlbumLabel.setText(AlbumName);
	}

	private void init() {
		add(AlbumLabel);
		setPreferredSize(new Dimension(750,30));
		setBorder(BorderFactory.createLineBorder(Color.black));
	}
	
	public String getArtist(){
		return ArtistName;
	}
	public String getAlbum(){
		return AlbumName;
	}

	private static final long serialVersionUID = -8755449732589463050L;

}
